﻿using HR60_PanelSoft.Model;
using HR60_PanelSoft.NetWork.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HR60_PanelSoft.NetWork.Sender
{
    class Sender_0116:BaseSender
    {
        public Sender_0116(byte secNum, Scene scene)
        {

            if (scene.lampAreaId == -1 || scene.lampSceneId == -1)
                return;

            byte[] data = new byte[3];
            data[0] = secNum;
            data[1] = (byte)scene.lampAreaId;
            data[2] = (byte)scene.lampSceneId;
            this.package = Package.getPackage(0x01, 0x16, 0x00, secNum, data);

        }

    }
}
